﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using Microsoft.AspNetCore.DataProtection.KeyManagement;
using Microsoft.AspNetCore.Http.HttpResults;

using OfficialWeb.Core;

using SqlSugar;

namespace OOS.Core.Dish
{
    /// <summary>
    /// 菜品口味管理
    /// </summary>
    [SugarTable("dish_flavor")]
    public class DishFlavor:IdAndUserIntAndIsDeletedBase
    {
        /// <summary>
        /// 菜品id
        /// </summary>
        [SugarColumn(ColumnName = "dish_id")]
        public int DishId { get; set; }
        /// <summary>
        /// 菜品口味名称
        /// </summary>
        [SugarColumn(ColumnName = "flavor_name")]
        public String FlavorName { get; set; }
        /// <summary>
        /// 菜品口味详情
        /// </summary>
        [SugarColumn(ColumnName = "flavor_list")]
        public String FlavorList {  get; set; }
    }
}
